package com.jdc.entity;

import org.nutz.dao.entity.annotation.ColDefine;
import org.nutz.dao.entity.annotation.ColType;
import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Name;
import org.nutz.dao.entity.annotation.Table;
import org.nutz.json.Json;
import java.util.Date;
import java.math.*;

@Table("t_areacode")
public class TAreacode {
	/**
	* 
	*/
	@Name
	@Column("aid")
	@ColDefine(notNull=false, type=ColType.VARCHAR, width=32)
	@Comment(value="")
	private String aid;
	/**
	* 
	*/
	@Column("area_code")
	@ColDefine(notNull=true, type=ColType.VARCHAR, width=32)
	@Comment(value="")
	private String areaCode;
	/**
	* 
	*/
	@Column("area_title")
	@ColDefine(notNull=true, type=ColType.VARCHAR, width=50)
	@Comment(value="")
	private String areaTitle;
	/**
	* 
	*/
	@Column("area_info")
	@ColDefine(notNull=true, type=ColType.VARCHAR, width=200)
	@Comment(value="")
	private String areaInfo;
	/**
	* 
	*/
	@Column("area_parent")
	@ColDefine(notNull=true, type=ColType.VARCHAR, width=32)
	@Comment(value="")
	private String areaParent;
	/**
	* 
	*/
	@Column("area_tag")
	@ColDefine(notNull=true, type=ColType.VARCHAR, width=32)
	@Comment(value="")
	private String areaTag;

	/**
	* 
	*/
	public String getAid() {
		return aid;
	}
	/**
	* 
	*/
	public void setAid(String aid) {
		this.aid = aid;
	}
	/**
	* 
	*/
	public String getAreaCode() {
		return areaCode;
	}
	/**
	* 
	*/
	public void setAreaCode(String areaCode) {
		this.areaCode = areaCode;
	}
	/**
	* 
	*/
	public String getAreaTitle() {
		return areaTitle;
	}
	/**
	* 
	*/
	public void setAreaTitle(String areaTitle) {
		this.areaTitle = areaTitle;
	}
	/**
	* 
	*/
	public String getAreaInfo() {
		return areaInfo;
	}
	/**
	* 
	*/
	public void setAreaInfo(String areaInfo) {
		this.areaInfo = areaInfo;
	}
	/**
	* 
	*/
	public String getAreaParent() {
		return areaParent;
	}
	/**
	* 
	*/
	public void setAreaParent(String areaParent) {
		this.areaParent = areaParent;
	}
	/**
	* 
	*/
	public String getAreaTag() {
		return areaTag;
	}
	/**
	* 
	*/
	public void setAreaTag(String areaTag) {
		this.areaTag = areaTag;
	}

	@Override
	public String toString() {
		return Json.toJson(this);
	}
}
